#include <stdio.h>
#include <float.h>
#include "lib_test.h"
#include<math.h>

int main()
{
   printf("Storage size for float : %d \n", sizeof(float));
   printf("Minimum float positive value: %E\n", FLT_MIN);
   printf("Maximum float positive value: %E\n", FLT_MAX);
   printf("Precision value: %d\n", FLT_DIG);

   int a;
   a = 5;
   a = floor(100.5);
   printf("%d \n", a);

   const double PI = 12345.1415926;
   printf("%.6f \n", PI);

   int res;
   res = add(3, 4);
   printf("结果是：%d \n", res);
   return 0;
}

int add(int a, int b)
{
   return a + b;
}
